

<html>
<head>
<title>sticky recent post widget</title>

<script type='text/javascript'src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js?ver=1.7.1'>
</script> 
<script type="text/javascript" src="http://knowitfrom2.googlecode.com/svn/colorpick/jquery.validationEngine.js"></script>
<script type="text/javascript" src="http://knowitfrom2.googlecode.com/svn/colorpick/colorpicker.js"></script>
<script type="text/javascript" src="http://knowitfrom2.googlecode.com/svn/colorpick/widget.js"></script>
<style type='text/css'>


#widget-wrapper{
   
   width:auto ;
   background-color: #fff;padding:25px;
}
 
body {
   border-width: 0px;
   padding: 0px;
   margin: 0px;
   font-size: 90%;
   background-color: #e7e7de
}

.td1
{
font-size:20px;
width:30%;padding-left:15px;padding-top:5px;padding-bottom:5px;
}

.td2
{width:25%;padding:5px;}
.td3
{bwidth:30%;padding:5px;font-size:13px;color:red}
.colorbox{
	width:25px;
	height:25px;
	display:inline-block;
	background-color:#fff;
	border:1px solid #fff;
	vertical-align:top;
	cursor:pointer;
	
	-webkit-box-shadow: 1px 1px 1px #ccc;
	-moz-box-shadow: 1px 1px 1px #ccc;
	box-shadow: 1px 1px 1px #ccc;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.colorpicker {
	width: 356px;
	height: 176px;
	overflow: hidden;
	position: absolute;
	background: url(http://4.bp.blogspot.com/-1b3xvbK6I9k/T090ays1wUI/AAAAAAAACuA/fdGZxO9ofK0/s1600/colorpicker_background.png);
	font-family: Arial, Helvetica, sans-serif;
	display: none;
}
.colorpicker_color {
	width: 150px;
	height: 150px;
	left: 14px;
	top: 13px;
	position: absolute;
	background: #f00;
	overflow: hidden;
	cursor: crosshair;
}
.colorpicker_color div {
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
	height: 150px;
	background: url(http://1.bp.blogspot.com/-U_ltwPPj1VM/T090fsfKbJI/AAAAAAAACus/U0Qo6jGHj8g/s1600/colorpicker_overlay.png);
}
.colorpicker_color div div {
	position: absolute;
	top: 0;
	left: 0;
	width: 11px;
	height: 11px;
	overflow: hidden;
	background: url(http://1.bp.blogspot.com/-4gx7cd3XGu0/T090jKYL7eI/AAAAAAAACvQ/fkVuClhPR5g/s1600/colorpicker_select.gif);
	margin: -5px 0 0 -5px;
}
.colorpicker_hue {
	position: absolute;
	top: 13px;
	left: 171px;
	width: 35px;
	height: 150px;
	cursor: n-resize;
}
.colorpicker_hue div {
	position: absolute;
	width: 35px;
	height: 9px;
	overflow: hidden;
	background: url(http://1.bp.blogspot.com/-x6edmqooPd0/T090enLieJI/AAAAAAAACuk/1VFvZKrqa5A/s1600/colorpicker_indic.gif) left top;
	margin: -4px 0 0 0;
	left: 0px;
}
.colorpicker_new_color {
	position: absolute;
	width: 60px;
	height: 30px;
	left: 213px;
	top: 13px;
	background: #f00;
}
.colorpicker_current_color {
	position: absolute;
	width: 60px;
	height: 30px;
	left: 283px;
	top: 13px;
	background: #f00;
}
.colorpicker input {
	background-color: transparent;
	border: 1px solid transparent;
	position: absolute;
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
	color: #898989;
	top: 4px;
	right: 11px;
	text-align: right;
	margin: 0;
	padding: 0;
	height: 11px;
}
.colorpicker_hex {
	position: absolute;
	width: 72px;
	height: 22px;
	background: url(http://1.bp.blogspot.com/-dByqnzK_bBc/T090bj3fW8I/AAAAAAAACuI/jl8l36f3LK8/s1600/colorpicker_hex.png) top;
	left: 212px;
	top: 142px;
}
.colorpicker_hex input {
	right: 6px;
}
.colorpicker_field {
	height: 22px;
	width: 62px;
	background-position: top;
	position: absolute;
}
.colorpicker_field span {
	position: absolute;
	width: 12px;
	height: 22px;
	overflow: hidden;
	top: 0;
	right: 0;
	cursor: n-resize;
}
.colorpicker_rgb_r {
	background-image: url(http://4.bp.blogspot.com/-b1fVifvDRfk/T090iH0rR-I/AAAAAAAACvI/SLb-LGxCtWA/s1600/colorpicker_rgb_r.png);
	top: 52px;
	left: 212px;
}
.colorpicker_rgb_g {
	background-image: url(http://2.bp.blogspot.com/-o4WkL6kTUxY/T090hIpg6HI/AAAAAAAACvA/R0rzMtahbXE/s1600/colorpicker_rgb_g.png);
	top: 82px;
	left: 212px;
}
.colorpicker_rgb_b {
	background-image: url(http://2.bp.blogspot.com/-ZiGUCiJ2y2M/T090gWnGmYI/AAAAAAAACu0/yiQuVzXL48c/s1600/colorpicker_rgb_b.png);
	top: 112px;
	left: 212px;
}
.colorpicker_hsb_h {
	background-image: url(http://4.bp.blogspot.com/-iHjzx1VEOak/T090denVLiI/AAAAAAAACuY/M7WE2dLekLo/s1600/colorpicker_hsb_h.png);
	top: 52px;
	left: 282px;
}
.colorpicker_hsb_s {
	background-image: url(http://2.bp.blogspot.com/-OyuvBhXqqLM/T090eG5kqxI/AAAAAAAACuc/9rdHZRJKIGI/s1600/colorpicker_hsb_s.png);
	top: 82px;
	left: 282px;
}
.colorpicker_hsb_b {
	background-image: url(http://4.bp.blogspot.com/-dokqcRT3z_Q/T090chc_txI/AAAAAAAACuM/qiDfrj_TNHY/s1600/colorpicker_hsb_b.png);
	top: 112px;
	left: 282px;
}
.colorpicker_submit {
	position: absolute;
	width: 22px;
	height: 22px;
	background: url(http://1.bp.blogspot.com/-9WyMt28abIs/T090jxyOQdI/AAAAAAAACvU/qtPlv2Upqtc/s1600/colorpicker_submit.png) top;
	left: 322px;
	top: 142px;
	overflow: hidden;
}
.colorpicker_focus {
	background-position: center;
}
.colorpicker_hex.colorpicker_focus {
	background-position: bottom;
}
.colorpicker_submit.colorpicker_focus {
	background-position: bottom;
}
.colorpicker_slider {
	background-position: bottom;
}
</style><script type='text/javascript'>
function kifcodegen(){var blogurl=document.getElementsByName("kifblogurl")[0].value;if(blogurl.substring(0,7)=="http://")blogurl=blogurl.substring(7,blogurl.length);if(blogurl[blogurl.length-1]=="/")blogurl=blogurl.substring(0,blogurl.length-1);var MaxPosts=document.getElementsByName("KIFMaxPosts")[0].value;var sticfloat=document.getElementsByName("kifstickyfloat")[0].value;var LinkLocation=document.getElementsByName("KIFLinkLocation")[0].value;var ScrollDelay=document.getElementsByName("kifScrollDelay")[0].value;var BulletChar=document.getElementsByName("kifBulletChar")[0].value;var stickybarbgcolor=document.getElementsByName("kifbgcolor")[0].value;var linkscolor=document.getElementsByName("kiflinkscolor")[0].value;var BulletCharcolor=document.getElementsByName("kifBulletCharcolor")[0].value;var widget=document.getElementsByName("widget.content")[0];widget.value="<script src='http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.3.2\/jquery.min.js' type='text\/javascript'><\/script>";widget.value=widget.value+"<script style=\"\" src=\"https:\/\/knowitfrom2.googlecode.com\/svn\/trunk\/recentpostsscrollerv2.js\"><\/script>";widget.value=widget.value+"<script src=\"https:\/\/knowitfrom2.googlecode.com\/svn\/trunk\/kifStickybar.js\"><\/script><style>#kifstickybar{background:#"+stickybarbgcolor+" url('http:\/\/3.bp.blogspot.com\/-zQeUG7PU9Uw\/TmkiptyZ1eI\/AAAAAAAAE98\/At4tRBC9HQc\/s400\/stickybar.png') repeat-x;width:100%;margin:0 auto;text-align:center;padding:0px 0;top:0px;color:#"+BulletCharcolor+";border-bottom:2px solid #000;\/*box-shadow*\/-webkit-box-shadow:#666666 0px 1px 3px;-moz-box-shadow:#666666 0px 1px 3px;box-shadow:#666666 0px 1px 3px;z-index:999;display:none;height:28px;position:absolute;line-height:1.85em;vertical-align:baseline;letter-spacing:1px;}#kifstickybar a{text-decoration:none;color:#"+linkscolor+";font-size:13px;font-weight:bold;font-family:arial,\"Helvetica\",sans-serif;line-height:24px;}#kifstickybar a:hover{text-decoration:underline;}#kifstickybar p{margin:0;list-style:none;}#kifstickybar img{vertical-align:middle;margin-right:6px;}#kifclose{padding:0px;float:right;cursor:hand;cursor:pointer;color:#ddd!important;}<\/style>";widget.value=widget.value+"<div id='kifstickybar'>";widget.value=widget.value+"<script>";widget.value=widget.value+"var nMaxPosts = "+MaxPosts+";";widget.value=widget.value+"var nWidth = 95;";widget.value=widget.value+"var nScrollDelay = "+ScrollDelay+";";widget.value=widget.value+"var sDirection = \""+sticfloat+"\";";widget.value=widget.value+"var sOpenLinkLocation = \""+LinkLocation+"\";";widget.value=widget.value+"var sBulletChar = \""+BulletChar+"\";";widget.value=widget.value+"<\/script><script style=\"\"  src=\"http:\/\/"+blogurl+"\/feeds\/posts\/default?alt=json-in-script&amp;callback=RecentPostsScrollerv2&amp;max-results="+MaxPosts+" \" ><\/script> <noscript><a href=\"http:\/\/knowitfrom.blogspot.com\/2012\/08\/blogger-sticky-widget-with-recent-post.html\">+ Grab this Widget<\/a><\/noscript>";widget.value=widget.value+"<a href=\"#\" id=\"kifclose\"  onclick=\"return false;\"><img src=\"http:\/\/1.bp.blogspot.com\/-MSEzL6EtjrM\/Tt-hrSkKVnI\/AAAAAAAAFiQ\/AGUGFpnSUHk\/s400\/cancel.png\"\/><\/a>";widget.value=widget.value+"<\/div id='kifstickybar'>";document.getElementsByName("go")[0].disabled=false}
</script>
</head>
<body>
	<div id='widget-wrapper'>
<form action="http://www.blogger.com/add-widget" method="post" target="_blank">
<table style='width:100%;' cellspacing='5px';>
<tr>
	<td class='td1'>Blog url</td><td class='td2'><b>http://</b><input class='text-input' type='text' name='kifblogurl' value='knowitfrom.blogspot.com' size='30'><b>/</b></td><td class='td3'>enter url of the blog for recent posts</td>
</tr>
<tr>
	<td class='td1'>Number of posts</td><td class='td2'><input class='text-input' type='text' name='KIFMaxPosts' value='10' size='5'></td><td class='td3'>number of posts to be shown on the scroll</td>
</tr>
<tr>
	<td class='td1'>Move from</td><td class='td2'><select class='select-box' id='kifstickyfloat'  name='kifstickyfloat'>
<option value='left'>Left</option>
<option value='right'>Right</option> 
</select></td><td class='td3'>which direction to scroll from</td>
</tr>
<tr>
	<td class='td1'>Scroll Delay</td><td class='td2'><input class='text-input' type='text' name='kifScrollDelay' value='175' size='5'></td><td class='td3'>you can delay or increase the scroll speed</td>
</tr>
<tr>
	<td class='td1'>New window </td><td class='td2'><select class='select-box' id='KIFLinkLocation'  name='KIFLinkLocation'>
<option value='N'>Yes</option>
<option value='Y'>No</option> 
</select></td><td class='td3'>Open links in new window</td>
</tr>
<tr>
	<td class='td1'>Bullet char</td><td class='td2'>&nbsp;&nbsp;<input class='text-input' type='text' name='kifBulletChar' value='<-' size='5'></td><td class='td3'>change it to change the bullet: eg "<<" or ">>"</td>
</tr>
<tr>
	<td class='td1'>Bullet color</td><td class='td2'>#<input class='inputcolor text-input' type='text' name='kifBulletCharcolor' value='F40045' size='5'><span
class="colorbox"></span></td><td class='td3'> </td>
</tr>
<tr>
	<td class='td1'>Background color</td><td class='td2'>#<input class='inputcolor text-input' type='text' name='kifbgcolor' value='000000' size='5'><span
class="colorbox"></span></td><td class='td3'> </td>
</tr>
<tr>
	<td class='td1'>link's color</td><td class='td2'>#<input class='inputcolor text-input' type='text' name='kiflinkscolor' value='FFFFFF' size='5'><span
class="colorbox"></span></td><td class='td3'> </td>
</tr>
<tr><td><input style="width:180px; font-weight:bold;font-size:20px; " value="Generate" onclick="javascript:kifcodegen();" type="button"></td>
<td><input style="width:180px; font-weight:bold;font-size:20px; " disabled="disabled" name="go" value="Add to Blogger" type="submit"><br><textarea name="widget.content" style="display:none;"></textarea><input name="infoUrl" value="http://gj37765.blogspot.com" type="hidden"><input name="logoUrl" value="" type="hidden"></form> </td></tr>

</table>
</form>
</div>
 
</body>
</html>
